package com.pinecone.common.rong.messages;

import com.pinecone.common.rong.util.GsonUtil;

/**
 * Created by hushangjie on 2017/10/17.
 */
public class AdminMessage extends BaseMessage {
    /*private String title = "";
    private String linkType = "";*/
    private String content;
    private transient static final String TYPE = "s:admin";

    public AdminMessage(String content) {
        this.content = content;
    }

    @Override
    public String getType() {
        return TYPE;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return GsonUtil.toJson(this, AdminMessage.class);
    }
}
